package com.xcity.pomelo.push.msg;

import com.xcity.game.recharge.RechargeResult;
import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class RechargeResultPush extends AbstractMessagePush {

	public Content content;
	
	public static class Content {
		public String orderId;
		public int money;
		public int stone;
	}
	
	public RechargeResultPush(RechargeResult result, int stone) {
		super(MSG_RECHARGE);
		content = new Content();
		content.orderId = result.getOrderId();
		content.money = result.getMoney();
		content.stone = stone;
	}
	
}
